package com.reactor.operator;

import reactor.core.publisher.Flux;

public class First {

	public static void main(String[] args) {
		//这个很简单理解，多个Flux，只取第1个Flux的元素。输出如下：
		Flux.first(Flux.fromArray(new String[]{"A", "B"}),
                Flux.just(1, 2, 3))
                .subscribe(System.out::println);
	}

}
